<template>
  <div class="app-container">
    <el-row :gutter="10">
      <el-col :xs="24" :sm="24" :md="10" :lg="10" :xl="10" style="margin-bottom: 10px">
        <el-card class="box-card">
          <div slot="header" class="clearfix">
            <span>字典列表</span>
          </div>
          <!--工具栏-->
          <div class="head-container">
          </div>
          <!--表格渲染-->
          <el-table height="850" v-loading="loading" :data="dataItems" size="small" highlight-current-row
                    style="width: 100%;">
            <el-table-column :show-overflow-tooltip="true" prop="taskType" label="种类" width="80"/>
            <el-table-column :show-overflow-tooltip="true" prop="taskName" label="任务名" width="240"/>
            <el-table-column :show-overflow-tooltip="true" prop="important" label="重要" width="80"/>
          </el-table>
          <!--分页组件-->
        </el-card>
      </el-col>
      <el-col :xs="24" :sm="24" :md="14" :lg="14" :xl="14">
        <el-card class="box-card">
          <div slot="header" class="clearfix">
            <span>字典详情</span>
          </div>

        </el-card>
      </el-col>
    </el-row>
  </div>
</template>

<script>
    import checkPermission from '@/utils/permission'

    export default {
        name: 'dailyTask',
        components: {},
        data() {
            return {
                delLoading: false,
                queryTypeOptions: [
                    {key: 'name', display_name: '字典名称'},
                    {key: 'remark', display_name: '描述'}
                ],
                dataItems: [{
                    "taskId": "1",
                    "taskType": "10001",
                    "taskName": "每日摘抄",
                    "emergency": "0",
                    "important": "1"
                }, {
                    "taskId": "2",
                    "taskType": "10002",
                    "taskName": "每日知识笔记",
                    "emergency": "0",
                    "important": "1"
                }, {
                    "taskId": "3",
                    "taskType": "10003",
                    "taskName": "每日读书笔记",
                    "emergency": "0",
                    "important": "1"
                }, {
                    "taskId": "4",
                    "taskType": "90001",
                    "taskName": "每日WOW游戏",
                    "emergency": "0",
                    "important": "0"
                }, {
                    "taskId": "5",
                    "taskType": "90002",
                    "taskName": "每日WOW游戏笔记",
                    "emergency": "0",
                    "important": "0"
                }, {
                    "taskId": "6",
                    "taskType": "90003",
                    "taskName": "每日crossword游戏",
                    "emergency": "0",
                    "important": "0"
                }, {
                    "taskId": "7",
                    "taskType": "90004",
                    "taskName": "每日crossword游戏笔记",
                    "emergency": "0",
                    "important": "0"
                }, {
                    "taskId": "8",
                    "taskType": "20001",
                    "taskName": "每日计算机学习笔记",
                    "emergency": "0",
                    "important": "1"
                }, {
                    "taskId": "9",
                    "taskType": "20002",
                    "taskName": "每日计算机学习笔记（电子版）",
                    "emergency": "0",
                    "important": "1"
                }, {"taskId": "10", "taskType": "20003", "taskName": "每日开发文档整理", "emergency": "0", "important": "1"}]
            }
        },
        methods: {
            checkPermission
        }
    }
</script>
